#include <bits/stdc++.h>
using namespace std;
#define mm(a) memset(a,0,sizeof(a));

int __gcd(int a, int b) {
    return b > 0 ? __gcd(b, a % b) : a;
}

int main () {
    int a = (1 << 20) - 1;
    int b = (1 << 19);
    int g = __gcd(a, b);
    cout << a / g << "/" << b / g << endl;
    return 0;
}